import Vue from 'vue'
import { NavBar, Form, Field, button, Tabbar, TabbarItem, Icon, Tab, Tabs, Cell, List, PullRefresh, ActionSheet, Popup, Col, Row, Badge, Search, Image as VanImage, Divider, Tag, CellGroup, Dialog, DatetimePicker, Loading, Lazyload } from 'vant'
// 全局注册
Vue.use(Lazyload, {
  preLoad: 0.8, // 屏幕高度的百分比0-1
  error: 'https://ts3.cn.mm.bing.net/th?id=OIP-C.AJxqzTWvgiMzNXJF2TQZ9AHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=1.5&pid=3.1&rm=2' // 加载失败 使用错误图示
})
Vue.use(Loading)
Vue.use(DatetimePicker)
Vue.use(Dialog)
Vue.use(Tag)
Vue.use(CellGroup)
Vue.use(VanImage)
Vue.use(Search)
Vue.use(Row)
Vue.use(Col)
Vue.use(Badge)
Vue.use(Popup)
Vue.use(ActionSheet)
Vue.use(PullRefresh)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(NavBar)
Vue.use(Form)
Vue.use(Field)
Vue.use(button)
Vue.use(Icon)
Vue.use(Cell)
Vue.use(List)
Vue.use(Divider)
